Change pull-local to just be a wrapper for pull with file:///
authorColin Walters <walters@verbum.org>
Sun, 8 Feb 2015 09:30:52 +0000 (04:30 -0500)
committerColin Walters <walters@verbum.org>
Sun, 8 Feb 2015 09:43:06 +0000 (04:43 -0500)
commit9cc98041953090160dde48afa69b97c936541cdb
tree1d13dacb86b0e3eb8f9be6608f863ab0b8adf9b0
parentab3bf493dd9fa5cd6abba299d9eea182d9d17d96
Change pull-local to just be a wrapper for pull with file:///

This follows up from the previous commit; now that pull knows how to
do the efficient link() or copy for local files, we can just have
pull-local call into ostree_repo_pull().

As part of this:
 - pull() can also accept a file:/// URI instead
   of a remote name (since pull local supports anonymous pulls)
 - pull() knows an "override-remote-name" option, since pull-local
   supported writing a ref out even if there wasn't a remote with
   that name
src/libostree/ostree-repo-private.h
src/libostree/ostree-repo-pull.c
src/libostree/ostree-repo.c
src/ostree/ot-builtin-pull-local.c